Passthrough: disable bus-mastering on any card that causes an IOMMU fault.
authorTim Deegan <Tim.Deegan@citrix.com>
Fri, 12 Aug 2011 10:29:24 +0000 (11:29 +0100)
committerTim Deegan <Tim.Deegan@citrix.com>
Fri, 12 Aug 2011 10:29:24 +0000 (11:29 +0100)
commitd30a9b356bd3a51191004c2da26615a97e91af91
treef6f0900ae41ec5e344bad0496412548d822c8b52
parent027f58b0acd1e799ac8012d687d044803fb91bb7
Passthrough: disable bus-mastering on any card that causes an IOMMU fault.

This stops the card from raising back-to-back faults and live-locking
the CPU that handles them.

Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Wei Wang2 <wei.wang2@amd.com>
Acked-by: Allen M Kay <allen.m.kay@intel.com>
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/vtd/iommu.c